package com.akcome.apollo.domain;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;

/**
 * VIEW
 *
 * @author wn
 * @version $v: 1.0.0, $time:2017-12-26 08:49:00 Exp $
 */
@Entity
@Table(name = "v_stats_pool_day")
public class VStatsPoolDay implements Serializable {

	private String id;
	
	/**  **/
    private String cointype;

    /**  **/
    private Long day;

    /**  **/
    private Long accept;

    /**  **/
    private Long jobNotFound;

    /**  **/
    private Long timeTooOld;

    /**  **/
    private Long timeTooNew;

    /**  **/
    private Long duplicate;

    /**  **/
    private Long lowDifficuty;

    /**  **/
    private Long other;

    /**  **/
    private Double rejectRate;

    /**  **/
    private Double score;

    /**  **/
    private Long earn;

    /**  **/
    private Double lucky;

    /**  **/
    private Date createdAt;

    /**  **/
    private Date updatedAt;

    @Id
    @Column(name = "id", length = 21)
    public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "cointype", length = 10)
    public String getCointype() {
        return cointype;
    }

    public void setCointype(String cointype) {
        this.cointype = cointype;
    }

    @Column(name = "day", length = 11)
    public Long getDay() {
        return day;
    }

    public void setDay(Long day) {
        this.day = day;
    }

    @Column(name = "accept", length = 20)
    public Long getAccept() {
        return accept;
    }

    public void setAccept(Long accept) {
        this.accept = accept;
    }

    @Column(name = "job_not_found", length = 20)
    public Long getJobNotFound() {
        return jobNotFound;
    }

    public void setJobNotFound(Long jobNotFound) {
        this.jobNotFound = jobNotFound;
    }

    @Column(name = "time_too_old", length = 20)
    public Long getTimeTooOld() {
        return timeTooOld;
    }

    public void setTimeTooOld(Long timeTooOld) {
        this.timeTooOld = timeTooOld;
    }

    @Column(name = "time_too_new", length = 20)
    public Long getTimeTooNew() {
        return timeTooNew;
    }

    public void setTimeTooNew(Long timeTooNew) {
        this.timeTooNew = timeTooNew;
    }

    @Column(name = "duplicate", length = 20)
    public Long getDuplicate() {
        return duplicate;
    }

    public void setDuplicate(Long duplicate) {
        this.duplicate = duplicate;
    }

    @Column(name = "low_difficuty", length = 20)
    public Long getLowDifficuty() {
        return lowDifficuty;
    }

    public void setLowDifficuty(Long lowDifficuty) {
        this.lowDifficuty = lowDifficuty;
    }

    @Column(name = "other", length = 20)
    public Long getOther() {
        return other;
    }

    public void setOther(Long other) {
        this.other = other;
    }

    @Column(name = "reject_rate", precision = 15, scale = 2)
    public Double getRejectRate() {
        return rejectRate;
    }

    public void setRejectRate(Double rejectRate) {
        this.rejectRate = rejectRate;
    }

    @Column(name = "score", precision = 35, scale = 25)
    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    @Column(name = "earn", length = 20)
    public Long getEarn() {
        return earn;
    }

    public void setEarn(Long earn) {
        this.earn = earn;
    }

    @Column(name = "lucky", precision = 15, scale = 2)
    public Double getLucky() {
        return lucky;
    }

    public void setLucky(Double lucky) {
        this.lucky = lucky;
    }

    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "created_at")
    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    @Temporal(TemporalType.TIMESTAMP)
    @Column(name = "updated_at")
    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }

}
